import http from '@/utils/request'
function loginRequest(adminname:string, password:string) {
  //produceSearch，把http函数调用以后promise对象作为了返回值
  return http({
    method: 'post',
    url: '/admin/admin/login',
    data: { adminname, password },
  })
}
export { loginRequest }
